﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Base
{
    /// <summary>
    /// Base_UnitGroup
    /// </summary>
    [Table("Base_UnitGroup")]
    public partial class Base_UnitGroup
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 计量单位组编码
        /// </summary>
        public String Code { get; set; }

        /// <summary>
        /// 计量单位组名称
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// 计量单位组类别（待用）
        /// </summary>
        public String Type { get; set; }

        /// <summary>
        /// 是否默认：0=否；1=是
        /// </summary>
        public Boolean IsDefault { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean Deleted { get; set; }
        /// <summary>
        /// 是否为动态单位0 固态单位  1动态单位
        /// </summary>
        public Boolean? GroupType { get; set; }

    }
}